# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class JdItem(scrapy.Item):
    #爬虫要抓取的内容如下
    big_category = scrapy.Field()#图书大分类的名字
    big_category_link = scrapy.Field()#图书大分类的链接(好像没啥用0.0)
    small_category = scrapy.Field()#图书小分类的名字
    small_category_link = scrapy.Field()#图书小分类的链接
    bookname=scrapy.Field()#图书的名字
    author=scrapy.Field()#作者的名字(有些图书可能没有作者默认就是None)
    link =scrapy.Field()#图书的详情页的链接
    price=scrapy.Field()#图书的价格
    pass
